<template>
  <div class="title">
    <div class="title-left">
      <ul>
        <span> 吴静宏吴氏后台管理系统</span>
        <li class="el-icon-menu" @click="btnss"></li>
      </ul>
    </div>
    <div class="title-right">
      <el-dropdown>
        <span class="el-dropdown-link">
          admin<i class="el-icon-arrow-down el-icon--right"></i>
        </span>
        <el-dropdown-menu slot="dropdown" @click="btnhome">
          <el-dropdown-item>退出登录</el-dropdown-item>
        </el-dropdown-menu>
      </el-dropdown>
    </div>
  </div>
</template>
 
<script>
export default {
  data() {
    return {
      visible: false,
    };
  },
  methods: {
    btnhome() {
      this.$router.push("/Login");
    },
    btnss(){
      


    }
  },
};
</script>
 
<style lang = "less" scoped>
.title {
  width: 100%;
  height: 70px;
  line-height: 70px;
  display: flex;
  justify-content: space-between;
  background-color: #409eff;
  .title-left {
    color: #fff;
    font-size: 22px;
    padding-left: 15px;
    li {
      padding-left: 15px;
    }
  }
  .title-right {
    padding-right: 20px;
    background-color: #409eff;
  }
}
</style>